package com.wuye.VO;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wuye.basic.domain.WyBalcony;
import com.wuye.basic.domain.WyCommunity;
import com.wuye.basic.domain.WyHome;
import com.wuye.basic.domain.WyUnit;
import com.wuye.common.annotation.Excel;


import com.wuye.domain.WyYbType;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName YiBiaoVo
 * @Description TODO
 * @Author JackWang
 * @Date 2024年11月23日 17:05
 * @Version 1.0
 */
@Data
public class YiBiaoVo {
    /** 编号 */
    @Excel(name = "编号")
    private Long ybId;

    /** 仪表名称 */
    @Excel(name = "仪表名称")
    private String ybName;

    /** 仪表状态 */
    @Excel(name = "仪表状态")
    private Long ybStatus;

    /** 仪表类型 */
    @Excel(name = "仪表类型")
    private Long ybTypeId;

    /** 房间id，外键 */
    private Long houseId;

    /** 业主id，外键（装仪表的人） */
    private Long yezhuId;

    /** 创建时间 */
    private Date ybCreateTime;

    /** 抄表时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "抄表时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ybUpdateTime;

    /** 备注 */
    @Excel(name = "备注")
    private String ybReamrk;

    /** 小区id外键 */
    private Long communityId;

    /** 楼座id外键 */
    private Long balconyId;

    /** 0正常，1删除 */
    @TableLogic
    private Long del;

    /** 单元id外键 */
    private Long unitId;

    /** 仪表类型*/
    private WyYbType wyYbType;

    private WyCommunity wyCommunity;

    private WyBalcony wyBalcony;

    private WyUnit wyUnit;

    private WyHome wyHome;


}
